package com.streambolics.worseminton.servlet;

import com.streambolics.std.HtmlBuilder;
import com.streambolics.worseminton.data.HomeInfo;

public class LocationEnterHandler extends HomeInfoHandler
{

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    @Override
    protected void formatBodyAsSimpleDesktopHtml (HtmlBuilder b, HomeInfo aResponseObject) throws Exception
    {
        b.openDiv ("body");
        b.addParagraph ("Enter the details of the new location.");
        b.openForm ("/go/LocationCreate");
        b.addTextField ("name", "Name:");
        b.addSubmitButton ("create", "Create");
        b.closeForm ();
        b.closeDiv ();
    }
}
